package com.common.retrofit.service;


import com.common.bean.FriendCicleBean;
import com.common.bean.MsgListBean;
import com.common.bean.OrderDetailsBean;
import com.common.bean.OrderListBean;
import com.common.bean.SessionBean;
import com.common.carbean.CarListBean;
import com.common.carbean.CountInfoBean;
import com.common.carbean.IsJieDanBean;
import com.common.carbean.OderListXcBean;
import com.common.carbean.OrderInfoBean;
import com.common.carbean.UidBean;
import com.common.carbean.XiCheListBean;
import com.common.retrofit.entity.bean.AddressBean;
import com.common.retrofit.entity.bean.AvChatOverBen;
import com.common.retrofit.entity.bean.BillBean;
import com.common.retrofit.entity.bean.CarTypesBean;
import com.common.retrofit.entity.bean.ChattingBean;
import com.common.retrofit.entity.bean.ChongZhiListBean;
import com.common.retrofit.entity.bean.ChongZhiOrderBean;
import com.common.retrofit.entity.bean.CompileInfoBean;
import com.common.retrofit.entity.bean.CriditBean;
import com.common.retrofit.entity.bean.DaSangBean;
import com.common.retrofit.entity.bean.DianZanBean;
import com.common.retrofit.entity.bean.DongTaiDetailsBean;
import com.common.retrofit.entity.bean.FineRankBean;
import com.common.retrofit.entity.bean.GenOrderBean;
import com.common.retrofit.entity.bean.GiftListBean;
import com.common.retrofit.entity.bean.GoodsDetailsBean;
import com.common.retrofit.entity.bean.GoodsListBean;
import com.common.retrofit.entity.bean.HomeBannerBean;
import com.common.retrofit.entity.bean.HomeBean;
import com.common.retrofit.entity.bean.HomeSChatBean;
import com.common.retrofit.entity.bean.InfoBean;
import com.common.retrofit.entity.bean.JuadeBean;
import com.common.retrofit.entity.bean.MineBean;
import com.common.retrofit.entity.bean.MineRewardBean;
import com.common.retrofit.entity.bean.MingXiBean;
import com.common.retrofit.entity.bean.MoneyBean;
import com.common.retrofit.entity.bean.MyBindBean;
import com.common.retrofit.entity.bean.MyPersonBean;
import com.common.retrofit.entity.bean.NumberBean;
import com.common.retrofit.entity.bean.PayBean;
import com.common.retrofit.entity.bean.PersonInfoBean;
import com.common.retrofit.entity.bean.RewardsDatasBean;
import com.common.retrofit.entity.bean.SellWellBean;
import com.common.retrofit.entity.bean.ShopCarBean;
import com.common.retrofit.entity.bean.SortBean;
import com.common.retrofit.entity.bean.SortDetailsBean;
import com.common.retrofit.entity.bean.TwoPayBean;
import com.common.retrofit.entity.bean.UserBean;
import com.common.retrofit.entity.bean.UserDetailsBean;
import com.common.retrofit.entity.bean.WalletBean;
import com.common.retrofit.entity.bean.WalletRecordBean;
import com.common.retrofit.entity.bean.WeChatBean;
import com.common.retrofit.entity.bean.WhoSeeMeBean;
import com.common.retrofit.entity.bean.WithDrawBean;
import com.common.retrofit.entity.bean.YajinBea;
import com.common.retrofit.entity.result.AreaBean;
import com.common.retrofit.entity.result.BannerBean;
import com.common.retrofit.entity.result.CityCodeBean;
import com.common.retrofit.entity.result.CityOnlineBean;
import com.common.retrofit.entity.result.HomeRecommendBean;
import com.common.retrofit.entity.result.HouseListBean;
import com.common.retrofit.entity.result.HouseMsgBean;
import com.common.retrofit.entity.result.HouseTypesBean;
import com.common.retrofit.entity.result.HtmlBean;
import com.common.retrofit.entity.result.MineInfoBean;
import com.common.retrofit.entity.result.MsgBean;
import com.common.retrofit.entity.result.MyCollectionBean;
import com.common.retrofit.entity.result.NewHouseInfoBean;
import com.common.retrofit.entity.result.NewHouseQuBean;
import com.common.retrofit.entity.result.PhoneBean;
import com.common.retrofit.entity.result.RegisterBean;
import com.common.retrofit.entity.result.RentHouseMapBean;
import com.common.retrofit.entity.result.SearchBean;
import com.common.retrofit.entity.result.SecondHandHouseMapBean;
import com.common.retrofit.entity.resultImpl.HttpRespBean;

import java.util.ArrayList;
import java.util.List;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;


/**
 * Created by Administrator on 2017/10/12.
 */

public interface HaiNingService {
    @FormUrlEncoded
    @POST("uregister.html")
    Observable<HttpRespBean<RegisterBean>> register(@Field("time") String time, @Field("hash") String hash, @Field("mobile") String mobile, @Field("checkcode") String checkcode , @Field("password") String password);
    @FormUrlEncoded
    @POST("sendCode")
    Observable<HttpRespBean<Object>> getCode(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal, @Field("mobile") String mobile, @Field("type") String type );

    @FormUrlEncoded
    @POST("ulogin.html")
    Observable<HttpRespBean<RegisterBean>> login(@Field("time") String time, @Field("hash") String hash, @Field("username") String username , @Field("password") String password );
//忘记密码 重置密码
    @FormUrlEncoded
    @POST("forgetpwd.html")
    Observable<HttpRespBean<String>> forgetpwd(@Field("time") String time, @Field("hash") String hash, @Field("mobile") String mobile, @Field("checkcode") String checkcode,@Field("newpassword") String newpassword   );


// 获取首页的list推荐数据
    @FormUrlEncoded
    @POST("app_index.html")
    Observable<HttpRespBean<ArrayList<HomeRecommendBean>>> homeRecommend(@Field("time") String time, @Field("hash") String hash, @Field("page") int page , @Field("city") String city     );
//获取房源类型信息
@FormUrlEncoded
@POST("house_attribute.html")
Observable<HttpRespBean<HouseTypesBean>> getHouseTypes(@Field("time") String time, @Field("hash") String hash , @Field("city_str") String city_str );

    // 获取一手房数据
    @FormUrlEncoded
    @POST("screen_new_house.html")
    Observable<HttpRespBean<ArrayList<HouseListBean>>> screen_new_house(@Field("time") String time, @Field("hash") String hash, @Field("city_str") String city_str
            , @Field("area_str") String area_str , @Field("house_price") int house_price , @Field("house_type") int house_type , @Field("house_selling_point") int house_selling_point , @Field("small_price") int small_price  , @Field("big_price") int big_price   ,
                                                                        @Field("page") int page   );

    // 获取出租房数据
    @FormUrlEncoded
    @POST("screen_rental_house.html")
    Observable<HttpRespBean<ArrayList<HouseListBean>>> screen_rental_house(@Field("time") String time, @Field("hash") String hash, @Field("city_str") String city_str
            , @Field("area_str") String area_str , @Field("house_rent") int house_rent  , @Field("house_room_num") int house_room_num  , @Field("acreage") int acreage  , @Field("house_renovation") int house_renovation   , @Field("house_type") int house_type   ,
                                                                        @Field("small_price") int small_price
            ,
                                                                           @Field("big_price") int big_price
            ,
                                                                           @Field("page") int page );

    // 获取二手房数据
    @FormUrlEncoded
    @POST("screen_second_house.html")
    Observable<HttpRespBean<ArrayList<HouseListBean>>> screen_second_house(@Field("time") String time, @Field("hash") String hash, @Field("city_str") String city_str
            , @Field("area_str") String area_str , @Field("house_total") int house_total  , @Field("house_room_num") int house_room_num  , @Field("house_floor") int house_floor   , @Field("house_renovation") int house_renovation   , @Field("house_type") int house_type   ,
                                                                           @Field("house_age") int house_age
            ,
                                                                           @Field("house_certificate") int house_certificate
            ,
                                                                           @Field("small_price") int small_price
            ,
                                                                           @Field("big_price") int big_price
            ,
                                                                           @Field("page") int page );

    // 首页轮播图
    @FormUrlEncoded
    @POST("get_banner_pic.html")
    Observable<HttpRespBean<ArrayList<BannerBean>>> getBannerPic(@Field("time") String time, @Field("hash") String hash);

    // 用户提交意见
    @FormUrlEncoded
    @POST("feedback.html")
    Observable<HttpRespBean<String>> feedback(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid, @Field("content") String content );
   //装修咨询
    @FormUrlEncoded
    @POST("decoration_consult.html")
    Observable<HttpRespBean<List>> fixAdvice(@Field("time") String time, @Field("hash") String hash, @Field("name") String name , @Field("mobile") String mobile
            , @Field("village_name") String village_name, @Field("acreage") String acreage , @Field("decorate_budget") String decorate_budget , @Field("decorate_style") String decorate_style, @Field("room_num") String room_num , @Field("office_num") String office_num , @Field("toilet_num") String toilet_num
    );
    //获取新房详情页数据
    @FormUrlEncoded
    @POST("new_house_info.html")
    Observable<HttpRespBean<NewHouseInfoBean>> new_house_info(@Field("time") String time, @Field("hash") String hash , @Field("loupan_id") String loupan_id , @Field("huxing_id") String huxing_id , @Field("uid") String uid );

    // 城市列表
    @FormUrlEncoded
    @POST("city_data.html")
    Observable<HttpRespBean<CityOnlineBean>> city_data(@Field("time") String time, @Field("hash") String hash);

    // 查询城市code
    @FormUrlEncoded
    @POST("search_city.html")
    Observable<HttpRespBean<ArrayList<CityCodeBean>>> search_city(@Field("time") String time, @Field("hash") String hash, @Field("keyword") String keyword );
    // t通过code查询 区域
    @FormUrlEncoded
    @POST("get_area_str.html")
    Observable<HttpRespBean<AreaBean>> get_area_str(@Field("time") String time, @Field("hash") String hash, @Field("city_id") String city_id );
//我的信息
    @FormUrlEncoded
    @POST("user_index.html")
    Observable<HttpRespBean<MineInfoBean>> mineInfo(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid );

    //修改个人信息
    @FormUrlEncoded
    @POST("user_update.html")
    Observable<HttpRespBean<List>> user_update(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid , @Field("user_name") String user_name  , @Field("face_id") String face_id  , @Field("province_str") String province_str  , @Field("city_str") String city_str  , @Field("area_str") String area_str  );

    //发布二手房
    @FormUrlEncoded
    @POST("fabu_second2.html")
    Observable<HttpRespBean<List>> fabu_second(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid , @Field("loupan_name") String loupan_name  , @Field("province_str") String face_id  , @Field("city_str") String province_str  , @Field("area_str") String city_str  , @Field("loupan_address") String loupan_address , @Field("acreage") String acreage , @Field("price") String price , @Field("fabu_mobile") String fabu_mobile , @Field("room_num") String room_num , @Field("office_num") String office_num , @Field("toilet_num") String toilet_num, @Field("checkcode") String checkcode   );

    //发布出租房子
    @FormUrlEncoded
    @POST("fabu_rental2.html")
    Observable<HttpRespBean<List>> fabu_rental(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid , @Field("loupan_name") String loupan_name  , @Field("province_str") String face_id  , @Field("city_str") String province_str  , @Field("area_str") String city_str  , @Field("loupan_address") String loupan_address , @Field("acreage") String acreage , @Field("price") String price , @Field("fabu_mobile") String fabu_mobile , @Field("room_num") String room_num , @Field("office_num") String office_num , @Field("toilet_num") String toilet_num, @Field("checkcode") String checkcode  );

    // 获取搜索数据
    @FormUrlEncoded
    @POST("seacher_his.html")
    Observable<HttpRespBean<SearchBean>> history_search(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid  );

    // 获取搜索结果的数据
    @FormUrlEncoded
    @POST("seacher.html")
    Observable<HttpRespBean<HomeRecommendBean>> search_house(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("keyword") String keyword , @Field("page") int page      );
    // 删除搜索记录
    @FormUrlEncoded
    @POST("searchDel.html")
    Observable<HttpRespBean<Object>> del_search(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid  );
    // 获取用户的消息
    @FormUrlEncoded
    @POST("get_user_messages.html")
    Observable<HttpRespBean<ArrayList<MsgBean>>> get_user_messages(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid  );
//修改秘密
    @FormUrlEncoded
    @POST("updatepwd.html")
        Observable<HttpRespBean<List>> updatepwd(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid , @Field("oldpwd") String oldpwd  , @Field("newpwd") String newpwd );

    //获取html5
    @FormUrlEncoded
    @POST("get_h5_url.html")
    Observable<HttpRespBean<HtmlBean>> get_h5_url(@Field("time") String time, @Field("hash") String hash);

    //收藏跟取消收藏
    @FormUrlEncoded
    @POST("house_collection.html")
    Observable<HttpRespBean<List>> house_collection(@Field("time") String time, @Field("hash") String hash , @Field("uid") String uid, @Field("type") String type , @Field("loupan_id") String loupan_id , @Field("huxing_id") String huxing_id , @Field("my_house_type") String my_house_type  );
    // 获取我的收藏
    @FormUrlEncoded
    @POST("get_collection.html")
    Observable<HttpRespBean<ArrayList<MyCollectionBean>>> get_collection(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid , @Field("page") int page     );

    // 首页房产知识
    @FormUrlEncoded
    @POST("property_knowledge.html")
    Observable<HttpRespBean<ArrayList<HouseMsgBean>>> property_knowledge(@Field("time") String time, @Field("hash") String hash, @Field("type") int type );

    // 地图找房：获取区的一手数据
    @FormUrlEncoded
    @POST("map_find_new2.html")
    Observable<HttpRespBean<ArrayList<NewHouseQuBean>>> map_find_new(@Field("time") String time, @Field("hash") String hash, @Field("city_str") String city_str
            , @Field("area_str") String area_str , @Field("house_price") int house_price , @Field("house_type") int house_type , @Field("house_selling_point") int house_selling_point , @Field("small_price") int small_price  , @Field("big_price") int big_price   );

    // 地图找房：获取二手房地图数据
    @FormUrlEncoded
    @POST("map_find_rental2.html")
    Observable<HttpRespBean<ArrayList<RentHouseMapBean>>> map_find_rental2(@Field("time") String time, @Field("hash") String hash, @Field("city_str") String city_str
            , @Field("area_str") String area_str , @Field("house_rent") int house_rent  , @Field("house_room_num") int house_room_num  , @Field("acreage") int acreage  , @Field("house_renovation") int house_renovation   , @Field("house_type") int house_type   ,
                                                                           @Field("small_price") int small_price
            ,
                                                                           @Field("big_price") int big_price  );

    // 获取二手房地图数据
    @FormUrlEncoded
    @POST("map_find_second2.html")
    Observable<HttpRespBean<ArrayList<SecondHandHouseMapBean>>> map_find_second2(@Field("time") String time, @Field("hash") String hash, @Field("city_str") String city_str
            , @Field("area_str") String area_str , @Field("house_total") int house_total  , @Field("house_room_num") int house_room_num  , @Field("house_floor") int house_floor   , @Field("house_renovation") int house_renovation   , @Field("house_type") int house_type   ,
                                                                                 @Field("house_age") int house_age
            ,
                                                                                 @Field("house_certificate") int house_certificate
            ,
                                                                                 @Field("small_price") int small_price
            ,
                                                                                 @Field("big_price") int big_price
            );
    //校验验证码
    @FormUrlEncoded
    @POST("checkCode")
    Observable<HttpRespBean<UidBean>> checkMobile(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("mobile") String mobile , @Field("type") String type , @Field("sms_code") String sms_code );
    //用户注册 设置密码
    @FormUrlEncoded
    @POST("uRegister.html")
    Observable<HttpRespBean<UserBean>> uRegister(@Field("time") String time, @Field("hash") String hash, @Field("username") String username , @Field("password") String password
            , @Field("repeatpwd") String repeatpwd  );
    //用户登录
    @FormUrlEncoded
    @POST("mobileLogin.html")
    Observable<HttpRespBean<UserBean>> Login(@Field("time") String time, @Field("hash") String hash, @Field("mobile") String mobile , @Field("checkcode") String checkcode
            , @Field("thirdId") String thirdId    );
    //短信登录
    @FormUrlEncoded
    @POST("mobileLogin.html")
    Observable<HttpRespBean<UserBean>> mobileLogin(@Field("time") String time, @Field("hash") String hash, @Field("mobile") String mobile, @Field("checkcode") String checkcode , @Field("thirdId") String thirdId    );

    @FormUrlEncoded
    @POST("forgetPwd.html")
    Observable<HttpRespBean<Object>> forgetPwd(@Field("time") String time, @Field("hash") String hash, @Field("username") String username , @Field("checkcode") String checkcode  , @Field("newpwd") String newpwd   );

    //首页数据
    @FormUrlEncoded
    @POST("index.html")
    Observable<HttpRespBean<HomeBean>> index(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("page") int page );

    //加入购物车
    @FormUrlEncoded
    @POST("addToCar.html")
    Observable<HttpRespBean<Object>> addToCar(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("sid") String sid     , @Field("num") String num   );
    //分类
    @FormUrlEncoded
    @POST("index.html")
    Observable<HttpRespBean<SortBean>> sortIndex(@Field("time") String time, @Field("hash") String hash);
    //分类详情
    @FormUrlEncoded
    @POST("getGoodsBycate.html")
    Observable<HttpRespBean<SortDetailsBean>> getGoodsBycate(@Field("time") String time, @Field("hash") String hash, @Field("cid") int cid, @Field("page") int page);

    //我的
    @FormUrlEncoded
    @POST("myinfo.html")
    Observable<HttpRespBean<MineBean>> myinfo(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid);
    //详情商品
    @FormUrlEncoded
    @POST("detail.html")
    Observable<HttpRespBean<GoodsDetailsBean>> detail(@Field("time") String time, @Field("hash") String hash, @Field("gid") int gid);

    //加入常用清单
    @FormUrlEncoded
    @POST("addList.html")
    Observable<HttpRespBean<Object>> addList(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("sid") String sid     , @Field("num") String num   );
    //购物列表
    // 用户提交意见
    @FormUrlEncoded
    @POST("carList.html")
    Observable<HttpRespBean<ShopCarBean>> carList(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid, @Field("page") int page );
    //删除购物车
    @FormUrlEncoded
    @POST("carDel.html")
    Observable<HttpRespBean<Object>> carDel(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("cid") String cid    );
    //生成订单
    @FormUrlEncoded
    @POST("order.html")
    Observable<HttpRespBean<GenOrderBean>> order(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("orderId") int orderId  , @Field("goods") String goods    );
    //获取我的信息
    @FormUrlEncoded
    @POST("info.html")
    Observable<HttpRespBean<InfoBean>> info(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            );
    //更新个人信息
    @FormUrlEncoded
    @POST("upuserdata.html")
    Observable<HttpRespBean<Object>> updateUser(
            @Field("time") String time, @Field("hash") String hash, @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("face") String face
            , @Field("nickname") String nickname
            , @Field("sex") String sex
            , @Field("city") String city
            , @Field("birth") String birth
            , @Field("invitationcode") String invitationcode
    );

    //获取订单页面数据
    @FormUrlEncoded
    @POST("orderConfirm.html")
    Observable<HttpRespBean<OrderInfoBean>> orderConfirm(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("orderId") String orderId    );

    //结算页面
    @FormUrlEncoded
    @POST("orderPay.html")
    Observable<HttpRespBean<PayBean>> orderPay(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("paytype") int paytype
            , @Field("orderId") String orderId     , @Field("send_time") String send_time     , @Field("comments") String comments    );

    //商品列表
    @FormUrlEncoded
    @POST("goodsList.html")
    Observable<HttpRespBean<GoodsListBean>> goodsList(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid, @Field("orderId") String orderId, @Field("page") int page );

    //获取手机号   安全模块
    @FormUrlEncoded
    @POST("account.html")
    Observable<HttpRespBean<PhoneBean>> account(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid);

    //换绑手机
    @FormUrlEncoded
    @POST("mobileBind.html")
    Observable<HttpRespBean<Object>> mobileBind(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("mobile") String mobile
            , @Field("checkcode") String checkcode );
    //修改密码
    @FormUrlEncoded
    @POST("updatePwd.html")
    Observable<HttpRespBean<Object>> updatePwd(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid
            , @Field("oldpwd") String oldpwd
            , @Field("newpwd") String newpwd
            , @Field("repeatpwd") String repeatpwd);

    @FormUrlEncoded
    @POST("payPassword.html")
    Observable<HttpRespBean<Object>> payPassword(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid
            , @Field("checkcode") String checkcode
            , @Field("pwd") String pwd
            , @Field("repwd") String repwd);
    //常用清单
    @FormUrlEncoded
    @POST("UseList.html")
    Observable<HttpRespBean<ShopCarBean>> UseList(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid, @Field("page") int page );
    //删除常用清单
    @FormUrlEncoded
    @POST("listDel.html")
    Observable<HttpRespBean<Object>> listDel(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("cid") String cid    );
    // 发票列表
    @FormUrlEncoded
    @POST("billList.html")
    Observable<HttpRespBean<BillBean>> billList(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid, @Field("type") int type, @Field("page") int page );

    //开发票
    @FormUrlEncoded
    @POST("bill.html")
    Observable<HttpRespBean<Object>> bill(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("order_ids") String order_ids
            , @Field("type") int type     , @Field("name") String name     , @Field("number") String number
            , @Field("reg_address") String reg_address
            , @Field("reg_mobile") String reg_mobile
            , @Field("bank_name") String bank_name
            , @Field("bank_num") String bank_num
    );
    //校验验证码
    @FormUrlEncoded
    @POST("Mydeposit.html")
    Observable<HttpRespBean<YajinBea>> Mydeposit(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid);

    // 用户提交意见
    @FormUrlEncoded
    @POST("wallet.html")
    Observable<HttpRespBean<WalletBean>> wallet(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid);

    // 钱包记录
    @FormUrlEncoded
    @POST("myRecord.html")
    Observable<HttpRespBean<WalletRecordBean>> myRecord(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid
            , @Field("type") int type
            , @Field("page") int page);

    // 获取消息
    @FormUrlEncoded
    @POST("message.html")
    Observable<HttpRespBean<MsgListBean>> message(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("page") int page      );

    // 我的订单
    @FormUrlEncoded
    @POST("myOrder.html")
    Observable<HttpRespBean<OrderListBean>> myOrder(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid, @Field("type") int type, @Field("page") int page );

    //确认收货
    @FormUrlEncoded
    @POST("done.html")
    Observable<HttpRespBean<Object>> done(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("orderId") String orderId    );
    //删除订单
    @FormUrlEncoded
    @POST("orderDel.html")
    Observable<HttpRespBean<Object>> orderDel(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("orderId") String orderId    );
    //取消订单
    @FormUrlEncoded
    @POST("cancelOrder.html")
    Observable<HttpRespBean<Object>> cancelOrder(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("orderId") String orderId    );

    // 畅销榜单
    @FormUrlEncoded
    @POST("boomList.html")
    Observable<HttpRespBean<SellWellBean>> boomList(@Field("time") String time, @Field("hash") String hash, @Field("page") int page );

    // 我的订单
    @FormUrlEncoded
    @POST("orderDetail.html")
    Observable<HttpRespBean<OrderDetailsBean>> orderDetail(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid, @Field("orderId") String orderId );

    // 用户提交意见
    @FormUrlEncoded
    @POST("add.html")
    Observable<HttpRespBean<Object>> feedbackK(@Field("time") String time, @Field("hash") String hash, @Field("uid") String uid, @Field("hashid") String hashid, @Field("content") String content);

    // 用户提交意见
    @FormUrlEncoded
    @POST("myCredit.html")
    Observable<HttpRespBean<CriditBean>> myCredit(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid);

    @FormUrlEncoded
    @POST("billAddress.html")
    Observable<HttpRespBean<AddressBean>> billAddress(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid);

    @FormUrlEncoded
    @POST("orderPay.html")
    Observable<HttpRespBean<WeChatBean>> orderPayWechat(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("paytype") int paytype
            , @Field("orderId") String orderId     , @Field("send_time") String send_time     , @Field("comments") String comments    );

    //阿里pay 充值

    @FormUrlEncoded
    @POST("orderDeposit.html")
    Observable<HttpRespBean<PayBean>> orderDeposit(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("paytype") int paytype
            );
    @FormUrlEncoded
    @POST("orderDeposit.html")
    Observable<HttpRespBean<WeChatBean>> orderDepositWechat(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("paytype") int paytype
    );

    @FormUrlEncoded
    @POST("orderRecharge.html")
    Observable<HttpRespBean<WeChatBean>> orderRechargeWechat(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("paytype") int paytype   , @Field("money") String money
    );


    @FormUrlEncoded
    @POST("orderRecharge.html")
    Observable<HttpRespBean<PayBean>> orderRechargeAliPay(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("paytype") int paytype   , @Field("money") String money
    );
    //校验验证码
    @FormUrlEncoded
    @POST("depositCancel.html")
    Observable<HttpRespBean<Object>> depositCancel(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid);


    /*
    * ******************************************************
    *    S聊 分割线
    * ******************************************************
    * */

    //分类
    @FormUrlEncoded
    @POST("friend_dynamic.html")
    Observable<HttpRespBean<FriendCicleBean>> friend_dynamic(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") String uid
            , @Field("hashid") String hashid
            , @Field("page") int page
    );
    //分类
    @FormUrlEncoded
    @POST("dynamic_reply.html")
    Observable<HttpRespBean<Object>> dynamic_reply(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") String uid
            , @Field("hashid") String hashid
            , @Field("cid") String cid
            , @Field("did") String did
            , @Field("fid") String fid
            , @Field("content") String content
    );

    //分类
    @FormUrlEncoded
    @POST("dynamic_likes.html")
    Observable<HttpRespBean<Object>> dynamic_likes(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") String uid
            , @Field("hashid") String hashid
            , @Field("did") String did
            , @Field("fid") String fid
            , @Field("type") int type
    );
    @FormUrlEncoded
    @POST("dynamic_comment.html")
    Observable<HttpRespBean<Object>> dynamic_comment(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") String uid
            , @Field("hashid") String hashid
            , @Field("did") String did
            , @Field("content") String content
    );


    //首页数据
    @FormUrlEncoded
    @POST("catelist.html")
    Observable<HttpRespBean<HomeSChatBean>> catelist(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("type") int type  ,
            @Field("city") String city ,
            @Field("sex ") String sex ,
            @Field("page") int page );
    //首页数据
    @FormUrlEncoded
    @POST("banner_list.html")
    Observable<HttpRespBean<HomeBannerBean>> banner_list(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("type") int type  );

    //首页数据
    @FormUrlEncoded
    @POST("followlist.html")
    Observable<HttpRespBean<HomeSChatBean>> followlist(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("type") int type  ,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("city") String city ,
            @Field("sex ") String sex ,
            @Field("page") int page );

    //首页数据
    @FormUrlEncoded
    @POST("personalDetail.html")
    Observable<HttpRespBean<PersonInfoBean>> personaalDetail(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("fid") String fid );

    //首页数据
    @FormUrlEncoded
    @POST("add_follow.html")
    Observable<HttpRespBean<Object>> add_follow(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("fid") String fid );

    @FormUrlEncoded
    @POST("cancel_follow.html")
    Observable<HttpRespBean<Object>> cancel_follow(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("fid") String fid );
    @FormUrlEncoded
    @POST("add_friend.html")
    Observable<HttpRespBean<Object>> add_friend(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("fid") String fid );

    @FormUrlEncoded
    @POST("my_friend.html")
    Observable<HttpRespBean<MyPersonBean>> my_friend(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );
    @FormUrlEncoded
    @POST("my_follows.html")
    Observable<HttpRespBean<MyPersonBean>> my_follows(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );
    @FormUrlEncoded
    @POST("my_fans.html")
    Observable<HttpRespBean<MyPersonBean>> my_fans(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );

    @FormUrlEncoded
    @POST("cancel_follow.html")
    Observable<HttpRespBean<Object>> cancelollow(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("fid") String fid     );
    @FormUrlEncoded
    @POST("friendDel.html")
    Observable<HttpRespBean<Object>> friendDel(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("fid") String fid     );
    @FormUrlEncoded
    @POST("self_auth.html")
    Observable<HttpRespBean<Object>> self_auth(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("pic") String pic
    );

    @FormUrlEncoded
    @POST("get_myinvation.html")
    Observable<HttpRespBean<MineRewardBean>> get_myinvation(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );


    @FormUrlEncoded
    @POST("getseeme.html")
    Observable<HttpRespBean<WhoSeeMeBean>> getseeme(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );

    @FormUrlEncoded
    @POST("order_lsit.html")
    Observable<HttpRespBean<WhoSeeMeBean>> order_lsit(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );
    @FormUrlEncoded
    @POST("set_fee.html")
    Observable<HttpRespBean<Object>> set_fee(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("service_fee") String service_fee,
            @Field("is_video") String is_video,
            @Field("is_stealth") String is_stealth
    );
    @FormUrlEncoded
    @POST("go_opinion.html")
    Observable<HttpRespBean<Object>> go_opinion(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("content") String content
    );

    @FormUrlEncoded
    @POST("my_blacklist.html")
    Observable<HttpRespBean<MyPersonBean>> my_blacklist(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );

    @FormUrlEncoded
    @POST("cancel_blacklist.html")
    Observable<HttpRespBean<Object>> cancel_blacklist(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("bid") String fid     );

    @FormUrlEncoded
    @POST("auth.html")
    Observable<HttpRespBean<Object>> auth(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("type") int type      );

    @FormUrlEncoded
    @POST("userinfo.html")
    Observable<HttpRespBean<CompileInfoBean>> userinfo(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
             );


    @FormUrlEncoded
    @POST("update_user.html")
    Observable<HttpRespBean<Object>> update_user(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("face") String face ,
            @Field("nickname") String nickname ,
            @Field("city") String city ,
            @Field("birth") String birth ,
            @Field("vocation") String vocation ,
            @Field("album") String album ,
            @Field("chatting") String chatting
    );
    @FormUrlEncoded
    @POST("skillslist.html")
    Observable<HttpRespBean<ChattingBean>> skillslist(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid  );

    @FormUrlEncoded
    @POST("get_mobile.html")
    Observable<HttpRespBean<NumberBean>> get_mobile(@Field("time") String time, @Field("hash") String hash );

    @FormUrlEncoded
    @POST("get_invation.html")
    Observable<HttpRespBean<RewardsDatasBean>> get_invation(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("times") String times    ,
            @Field("type") int type  ,
            @Field("page") int page

    );

    @FormUrlEncoded
    @POST("get_myranklist.html")
    Observable<HttpRespBean<FineRankBean>> get_myranklist(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("times") String times    ,
            @Field("type") int type  ,
            @Field("page") int page
    );
    @FormUrlEncoded
    @POST("goodsList.html")
    Observable<HttpRespBean<GiftListBean>> goodsList(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("page") int page );

    @FormUrlEncoded
    @POST("caseIndex.html")
    Observable<HttpRespBean<MoneyBean>> caseIndex(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid  );
    @FormUrlEncoded
    @POST("go_order.html")
    Observable<HttpRespBean<Object>> go_order(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("goodid") String goodid
            , @Field("fid") String fid
    );

    @FormUrlEncoded
    @POST("dynamic_detail.html")
    Observable<HttpRespBean<DongTaiDetailsBean>> dynamic_detail(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("id") String id
    );
    @FormUrlEncoded
    @POST("award_lsit.html")
    Observable<HttpRespBean<DaSangBean>> award_lsit(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("id") String id,
            @Field("fid") String fid ,
            @Field("page") int page
    );
    @FormUrlEncoded
    @POST("likes_lsit.html")
    Observable<HttpRespBean<DianZanBean>> likes_lsit(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("id") String id,
            @Field("page") int page
    );

    @FormUrlEncoded
    @POST("Transaction.html")
    Observable<HttpRespBean<MingXiBean>> Transaction(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("search") String search   ,
            @Field("page") int page );

    @FormUrlEncoded
    @POST("rechargeList.html")
    Observable<HttpRespBean<ChongZhiListBean>> rechargeList(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("page") int page );
    @FormUrlEncoded
    @POST("withdraw.html")
    Observable<HttpRespBean<WithDrawBean>> withdraw(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid );

    @FormUrlEncoded
    @POST("encashemnt.html")
    Observable<HttpRespBean<Object>> encashemnt(@Field("time") String time, @Field("hash") String hash,
                                                @Field("uid") int uid,
                                                @Field("hashid") String hashid,
                                                @Field("alipay") String alipay ,
                                                @Field("name") String name ,
                                                @Field("money") String money
    );

    @FormUrlEncoded
    @POST("bind.html")
    Observable<HttpRespBean<Object>> bind(@Field("time") String time,
                                            @Field("hash") String hash,
                                            @Field("uid")  int uid,
                                            @Field("hashid") String hashid,
                                            @Field("type")  int type ,
                                            @Field("authId")  String authId  ,
                                            @Field("authName") String authName  ,
                                            @Field("authHead") String authHead,
                                            @Field("gender") String gender
    );

    @FormUrlEncoded
    @POST("myBind.html")
    Observable<HttpRespBean<MyBindBean>> myBind(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid );


    @FormUrlEncoded
    @POST("add_blacklist.html")
    Observable<HttpRespBean<Object>> add_blacklist(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid, @Field("hashid") String hashid
    ,@Field("bid") String bid
    );

    @FormUrlEncoded
    @POST("add_userReport.html")
    Observable<HttpRespBean<Object>> add_userReport(
            @Field("time") String time,
            @Field("hash") String hash,
            @Field("uid") int uid  ,
            @Field("hashid") String hashid  ,
            @Field("fid") String fid   ,
            @Field("content") String content );

    @FormUrlEncoded
    @POST("orther_dynamic.html")
    Observable<HttpRespBean<FriendCicleBean>> orther_dynamic(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") String uid
            , @Field("hashid") String hashid
            , @Field("fid") String fid
            , @Field("page") int page
    );

    @FormUrlEncoded
    @POST("send_dynamic.html")
    Observable<HttpRespBean<Object>> send_dynamic(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("content") String content
            , @Field("pic") String pic
    );

    @FormUrlEncoded
    @POST("spersonalDetail.html")
    Observable<HttpRespBean<SessionBean>> spersonalDetail(@Field("time") String time, @Field("hash") String hash,
                                                          @Field("uid") int uid,
                                                          @Field("hashid") String hashid,
                                                          @Field("wy_accid") String wy_accid
            );
    @FormUrlEncoded
    @POST("get_vediofee.html")
    Observable<HttpRespBean<AvChatOverBen>> get_vediofee(@Field("time") String time, @Field("hash") String hash,
                                                         @Field("uid") int uid,
                                                         @Field("hashid") String hashid
    );

    @FormUrlEncoded
    @POST("videoChat.html")
    Observable<HttpRespBean<Object>> videoChat(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("fid") String fid  );
    @FormUrlEncoded
    @POST("orderRecharge.html")
    Observable<HttpRespBean<ChongZhiOrderBean>> orderRecharge(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("goodsId") int goodsId

    );

    @FormUrlEncoded
    @POST("payRecharge.html")
    Observable<HttpRespBean<TwoPayBean>> payRecharge(@Field("time") String time
            , @Field("hash") String hash
            , @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("orderId") int orderId
            , @Field("payType") int payType

    );

    @FormUrlEncoded
    @POST("thirdPartyLogin.html")
    Observable<HttpRespBean<UserBean>> thirdPartyLogin(@Field("time") String time,
                                                              @Field("hash") String hash,
                                                              @Field("type")  int type ,
                                                              @Field("authId")  String authId  ,
                                                              @Field("authName") String authName  ,
                                                              @Field("authHead") String authHead,
                                                              @Field("gender") String gender
    );


    @FormUrlEncoded
    @POST("get_commentreason.html")
    Observable<HttpRespBean<ArrayList<JuadeBean>>> get_commentreason(@Field("time") String time, @Field("hash") String hash );

    @FormUrlEncoded
    @POST("comment_user.html")
    Observable<HttpRespBean<Object>> comment_user(@Field("time") String time,
                                                              @Field("hash") String hash,
                                                              @Field("uid")  int uid  ,
                                                              @Field("hashid")  String hashid   ,
                                                              @Field("fid") String fid   ,
                                                              @Field("assess") String assess ,
                                                              @Field("reason") String reason
    );
    @FormUrlEncoded
    @POST("set_chatting.html")
    Observable<HttpRespBean<Object>> set_chatting(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid , @Field("hashid") String hashid
            , @Field("chatting") String chatting     );

    @FormUrlEncoded
    @POST("go_dorder.html")
    Observable<HttpRespBean<Object>> go_dorder(@Field("time") String time, @Field("hash") String hash, @Field("uid") int uid
            , @Field("hashid") String hashid
            , @Field("goodid") String goodid
            , @Field("did") String did
            , @Field("fid") String fid
    );

    //set psw 
    @FormUrlEncoded
    @POST("updatePasswordByMobile ")
    Observable<HttpRespBean<Object>> setPsw(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("mobile") String mobile , @Field("sms_code") String sms_code,@Field("newpwd") String newpwd ,
                                            @Field("repeatpwd") String repeatpwd,    @Field("uid") String uid );
    //账号登录
    @FormUrlEncoded
    @POST("spasswordLogin")
    Observable<HttpRespBean<CountInfoBean>> countLogin(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("username") String username , @Field("password") String password , @Field("jpushid") String jpushid );
    //用户详情
    @FormUrlEncoded
    @POST("userDetail")
    Observable<HttpRespBean<UserDetailsBean>> userDetail(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid );
    //车辆信息
    @FormUrlEncoded
    @POST("listData")
    Observable<HttpRespBean<CarListBean>> carList(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("page") int page, @Field("search") String search  );


    @FormUrlEncoded
    @POST("carDel")
    Observable<HttpRespBean<Object>> carDel(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("id") int id );

    @FormUrlEncoded
    @POST("setDefault")
    Observable<HttpRespBean<Object>> setDefault (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("id") int id );
    @FormUrlEncoded
    @POST("CarTypeData")
    Observable<HttpRespBean<CarTypesBean>> CarTypeData  (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("page") int page , @Field("search") String search );
    @FormUrlEncoded
    @POST("addCar")
    Observable<HttpRespBean<Object>> addCar   (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("typeid") int typeid , @Field("brand") String brand
            , @Field("model") String model
            , @Field("carnum") String carnum
            , @Field("color") String color
            , @Field("id") String id
            , @Field("typename") String typename
    );

    @FormUrlEncoded
    @POST("listData")
    Observable<HttpRespBean<XiCheListBean>> xicheList(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("page") int page , @Field("search") String search );

    @FormUrlEncoded
    @POST("orderList")
    Observable<HttpRespBean<OderListXcBean>> orderList    (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("page") int page , @Field("search") String search
            , @Field("type") int type
    );
    @FormUrlEncoded
    @POST("saveUserDetailData")
    Observable<HttpRespBean<Object>> saveUserDetailData      (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("id") String id
            , @Field("nickname") String nickname
            , @Field("birth") String birth
            , @Field("face") String face
            , @Field("sex") String sex

    );

    //账号登录
    @FormUrlEncoded
    @POST("orderDetail")
    Observable<HttpRespBean<OrderInfoBean>> orderDetail (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("id") String id );

    @FormUrlEncoded
    @POST("receiveOrder")
    Observable<HttpRespBean<Object>> receiveOrder (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("oid") String oid );

    @FormUrlEncoded
    @POST("arrivaled")
    Observable<HttpRespBean<Object>> arrivaled  (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("oid") String oid );
    @FormUrlEncoded
    @POST("comfirmed")
    Observable<HttpRespBean<Object>> comfirmed   (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("oid") String oid );

    @FormUrlEncoded
    @POST("onlineInfo")
    Observable<HttpRespBean<IsJieDanBean>> onlineInfo (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("id") String id );

    @FormUrlEncoded
    @POST("setOnline")
    Observable<HttpRespBean<Object>> setOnline  (@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("uid") int uid , @Field("hashid") String hashid , @Field("online") int online , @Field("id") String id);


    //set psw
    @FormUrlEncoded
    @POST("updatePasswordByMobile")
    Observable<HttpRespBean<Object>> setPsw(@Field("time") String time, @Field("hash") String hash, @Field("apiId") String apiId, @Field("terminal") String terminal
            , @Field("mobile") String mobile , @Field("sms_code") String sms_code,@Field("newpwd") String newpwd ,
                                            @Field("repeatpwd") String repeatpwd );

}
